package team.freeroom.hotelmanage.repository.entity;

/**
 * 房间实体类
 */
public class Room {
    /**
     * ID
     */
    private Long id;
    /**
     * 房型 ID
     */
    private Long roomTypeId;
    /**
     * 房间图片
     */
    private String photo;
    /**
     * 房间门牌号
     */
    private String sn;
    /**
     * 所属楼层id
     */
    private Long floorId;
    /**
     * 房型状态，0：可入住,1:已入住,2:打扫中
     */
    private int status;
    /**
     * 备注
     */
    private String remark;

    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", roomTypeId=" + roomTypeId +
                ", photo='" + photo + '\'' +
                ", sn='" + sn + '\'' +
                ", floorId=" + floorId +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Room() {
    }

    public Room(Long roomTypeId, String photo, String sn, Long floorId, int status, String remark) {
        this.roomTypeId = roomTypeId;
        this.photo = photo;
        this.sn = sn;
        this.floorId = floorId;
        this.status = status;
        this.remark = remark;
    }

    public Room(Long id, Long roomTypeId, String photo, String sn, Long floorId, int status, String remark) {
        this.id = id;
        this.roomTypeId = roomTypeId;
        this.photo = photo;
        this.sn = sn;
        this.floorId = floorId;
        this.status = status;
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(Long roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getFloorId() {
        return floorId;
    }

    public void setFloorId(Long floorId) {
        this.floorId = floorId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
